package tugas.akhir.jason;

import tugas.akhir.jason.dr8_mulmed;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

public class dr8_notes extends Activity{

	Button closebutton;
	EditText catatan;
	/** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.dr8_notes);
        
        closebutton = (Button) findViewById(R.id.closebutton);
        
        closebutton.setOnClickListener(new View.OnClickListener() {
    		public void onClick(View view){
    			catatan=(EditText)findViewById(R.id.editor);
				variabelstatis.catatan = (catatan.getText().toString());
    		  { startActivity(new Intent(dr8_notes.this, dr8_mulmed.class)); }
    		}
    	});
    }
}